package com.ruoyi.common.core.enums;

/**
 * @Author: 发布状态
 * @Date: 2023/6/1 8:59
 */
public enum PublishType {

    /**
     * 入款+ 扣款- 冻结 解冻
     */
    ONGOING(1, "发布中"), SUCCESS(2, "发布成功"), FAIL(3, "发布失败");

    private final Integer code;
    private final String info;

    PublishType(Integer code, String info) {
        this.code = code;
        this.info = info;
    }

    public Integer getCode() {
        return code;
    }

    public String getInfo() {
        return info;
    }


}
